<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改垃圾</title>
    <link href="${pageContext.request.contextPath}/css/bootstrap.min.css" rel="stylesheet">
    <script src="${pageContext.request.contextPath}/js/layui.js"></script>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/layui.css" />
    <script>
        layui.use('layedit', function(){
            var layedit = layui.layedit;
            layedit.build('demo1'); //建立编辑器
        });
    </script>
</head>
<body style="background-color: transparent;">
<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1><small>
                    修改法规
                </small></h1>
            </div>
        </div>
    </div>
    <form action="${pageContext.request.contextPath}/updLaws" method="post">
        <%--前端传递隐藏域--%>
        <input type="hidden" name="l_id" value="${QLaws.l_id}"/>
        <div class="form-group">
            <label>条令名称</label>
            <input type="text" name="l_name" class="form-control" value="${QLaws.l_name}" required/>
        </div>
        <div class="form-group">
            <label >发文字号</label>
            <input type="text" name="l_num" class="form-control" value="${QLaws.l_num}" required/>
        </div>
            <div class="form-group">
                <label>效力级别</label>
                <input type="text" name="l_lev" class="form-control" value="${QLaws.l_lev}" required/>
            </div>
            <div class="form-group">
                <label>发布日期</label>
                <input type="date" name="l_releasetime" class="form-control" value="${QLaws.l_releasetime}" required/>
            </div>
            <div class="form-group">
                <label>实施日期</label>
                <input type="date" name="l_implementationtime" class="form-control" value="${QLaws.l_implementationtime}" required/>
            </div>
            <div class="form-group">
                <label>发布机关</label>
                <input type="text" name="l_releas" class="form-control" value="${QLaws.l_releas}" required/>
            </div>
            <div class="form-group" >
                <label>正文</label>
                <textarea id="demo1" name="l_message" class="form-control" style="display: none; height: 300px">${QLaws.l_message}</textarea>
            </div>


            <div class="form-group">
            <input type="submit" class="form-control" value="修改">
        </div>

    </form>

</div>
</body>
</html>
